#ifndef __MY_BRUSH_H
#define __MY_BRUSH_H

#include <stdio.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <string.h>
#include <fcntl.h>
#include <linux/fb.h>

#define PLACE_BRUSH_LEFT(x,y)         ((0<=x&&x<400)&&(0<=y&&y<480))
#define PLACE_BRUSH_RIGHT(x,y)        ((400<=x&&x<700)&&(0<=y&&y<480))
#define PLACE_BRUSH_RIGHT2(x,y)        ((700<=x&&x<800)&&(100<=y&&y<480))
#define PLACE_BRUSH_EXIT(x,y)        ((700<=x&&x<800)&&(0<=y&&y<100))

void view_file_screenshot(char* user);

#endif